
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <title>TODO supply a title</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
    </head>
    <body>
       <?php 
       $wy=89;
       $html=90;
       $javascript=71;
       $ave=($wy + $html + $javascript)/3;
       define('PI',3.14);
       define('DRPATH','c:/wamp/www/');
       echo DRPATH . "bbs/index01.php";
       const pi01 = 3.1415;
       echo pi01;
         ?>
        <table>
            <tr>
                 <th>课程</th>
                 <th>分数</th>
            </tr>
            <tr>
                <td>网页设计</td>
                <td><?php echo  $wy; ?></td>
            </tr>
            <tr>
                <td>html+css</td>
                <td><?php echo  $html; ?></td>
            </tr>
            <tr>
                <td> javascript</td>
                <td><?php echo  $wy; ?></td>
            </tr>
             <tr>
                <td> 平均分</td>
                <td><?php echo  $ave; ?></td>
            </tr>
        </table>
    </body>
</html>
